MailPoet\Services\AuthorizedSenderDomainController A

Total Complexity 51
Dependencies 9
Dependents 9
Total lines 302
Lines of code 163
Logical lines of code 92
Comment lines 55
Methods 27
Properties 7

Methods 27

Method Rating Maintainability Complexity Lines of code
verifyAuthorizedSenderDomain()
S
55 5 19
restrictionsApply()
S
65 4 9
createAuthorizedSenderDomain()
S
60 3 13
getAllRawData()
S
62 3 12
isNewUser()
S
63 3 11
getSenderDomainsGroupedByStatus()
S
63 3 11
isAuthorizedDomainRequiredForExistingCampaigns()
S
79 2 3
getFullyOrPartiallyVerifiedSenderDomains()
S
74 2 4
isAuthorizedDomainRequiredForNewCampaigns()
S
79 2 3
getAllRecords()
S
71 2 6
getDomainRecords()
S
69 2 7
extractDomains()
S
69 2 7
getUnverifiedSenderDomains()
S
75 2 4
getPartiallyVerifiedSenderDomains()
S
75 2 4
getFullyVerifiedSenderDomains()
S
75 2 4
domainExtractor()
S
79 1 3
returnAllDomains()
S
76 1 4
reloadCache()
S
72 1 5
getSenderDomainsByStatus()
S
72 1 5
getRewrittenEmailAddress()
S
78 1 3
isEnforcementOfNewRestrictionsInEffect()
S
79 1 3
getVerifiedSenderDomainsIgnoringCache()
S
77 1 4
isSmallSender()
S
80 1 3
isBigSender()
S
80 1 3
getVerifiedSenderDomains()
S
80 1 3
getAllSenderDomains()
S
80 1 3
__construct()
S
69 1 7